package com.itheima.mp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.mp.domain.po.Address;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
* @author 23670
* @description 针对表【address】的数据库操作Mapper
* @createDate 2025-02-11 16:37:17
* @Entity com.itheima.mp.domain.po.Address
*/
@Mapper
public interface AddressMapper extends BaseMapper<Address> {
    // 添加一个自定义方法，忽略逻辑删除标记
    @Select("SELECT * FROM address WHERE id = #{id}")
    Address selectByIdIgnoreLogicDelete(Long id);
}




